﻿using System.Web.Http;

namespace Anmlz.Web.Controllers
{
    using Anmlz.Data.Contracts;

    public abstract class BaseApiController : ApiController
    {
        protected IModelFactory ModelFactory { get; set; }
        protected IUnitOfWork UnitOfWork { get; set; }
        protected BaseApiController(IUnitOfWork unitOfWork, IModelFactory modelFactory)
        {
            ModelFactory = modelFactory;
            UnitOfWork = unitOfWork;
        }
    }
}
